Enterprise Version
trying to rewrite the code of rebellion